package com.swpu.demo.service.impl;

import com.swpu.demo.entity.Cart;
import com.swpu.demo.mapper.CartMapper;
import com.swpu.demo.service.CartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Author Name
 * @since 2021-05-12
 */
@Service
public class CartServiceImpl implements CartService {
    @Autowired
    private CartMapper cartMapper;
    @Override
    public List<Cart> selectCartList() {
        return cartMapper.selectList(null);
    }
}
